/// <reference path="data.ts" />

namespace StuManage{

    export class Deal{
        _stu:string[] = new Data().stu;

        list():string{
            let HTML:string = "";
            this._stu.forEach((item)=>{
                HTML+=`<li>${item}</li>`
            })
            return HTML;
        }

        add(v:string){
            this._stu.push(v);
        }
    }
}